package com.lch.designpattern.proxy.staticproxy;

import com.lch.designpattern.proxy.Person;

/**
 * @author: liuchenhui
 * @create: 2019-04-17 23:44
 **/
public class Son implements Person {
    @Override
    public String getName() {
        return "son";
    }

    @Override
    public void findLove() {
        System.out.println("儿子要求：肤白貌美大长腿");
    }

    @Override
    public void marryTo(Person person) {
        System.out.println(person.getName());
    }
}
